"""
@author: xxw
@file: server2.py
@time: 2023/7/31 19:53
"""
from app import create_app

# 创建核心文件
mango_app = create_app()

from flask_migrate import Migrate
from models import db
migrate = Migrate(mango_app, db)

if __name__ == "__main__":
    mango_app.run(host=mango_app.config['HOST'],
                port=mango_app.config['PORT'],
                debug=mango_app.config['DEBUG'])
